package cn.iocoder.yudao.module.system.wechat_card.dto.giftcard;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class PicItemListDTO implements Serializable {

    @Schema(description = "卡面图片，须先将图片上传至CDN，大小控制在1000像素*600像素以下", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "卡面图片不能为空")
    private String background_pic_url;

    @Schema(description = "自定义的卡面的标识", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String outer_img_id;

    @Schema(description = "该卡面对应的默认祝福语，当用户没有编辑内容时会随卡默认填写为用户祝福内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "该卡面对应的默认祝福语不能为空")
    private String default_gifting_msg;

}
